/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.utp.soft6.model.enteties;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 *
 * @author JOSE
 */

@Entity
@Table(name = "clientes")

public class Cliente implements Serializable {
    
	
	
	private static final long serialVersionUID = 7698531046982304548L;
    
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private long id;
    
    private String nombre;
    private String apellido;
    private String telefono;
    private String email;
    private String pass;

   
    public Cliente() {
    	
    }

    public Cliente(long id, String nombre, String apellido, String telefono, String email, String pass) {
        this.id = id;
        this.nombre = nombre;
        this.apellido = apellido;
        this.telefono = telefono;
        this.email = email;
        this.pass = pass;
    }

    public long getId() {
        return id;
    }

   @SuppressWarnings("unused")
    private void setId(long id) {
        this.id = id;
    }

    public String getNombre() {
        return nombre;
    }

    public void setNombre(String nombre) {
        this.nombre = nombre;
    }

    public String getApellido() {
        return apellido;
    }

    public void setApellido(String apellido) {
        this.apellido = apellido;
    }

    public String getTelefono() {
        return telefono;
    }

    public void setTelefono(String telefono) {
        this.telefono = telefono;
    }

    public String getEmail() {
        return email;
    }
    public void setEmail(String email) {
        this.email = email;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }
    
}
